<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        for(var i=100;i<=200;i++){
            var k = true;
            for(var j=2;j<i;j++){
                if(i%j == 0){
                    k = !k;
                    break;
                }
            }
            if(k == true){
                document.write(i+'<br>');
            }
        }
    </script>
</body>
</html>